<script type="text/javascript" src="${base}/scripts/htgl/cght_detail.js"></script>
<div id="cght_tabs" detail="true" class="easyui-tabs" data-options="fit:true,border:false">
<div title="合同明细">
    <div id="cghtmx_detail_toolbar">
        <div class="PTools">
            <ul class="niu">
                <li><a href="javascript:void(0);" name="exp" class="undo" plain="true">导出</a></li>
            </ul>
        </div>
    </div>
    <table id="cght_cghtmx_table" class="easyui-datagrid"
           url="${base}/htgl/cghtgl/cghtgldetail_htmx?cghtId=${(cghtId)!}" toolbar="#cghtmx_detail_toolbar"
           rownumbers="true" fit="true" fitColumns="true" pagination="true" showFooter="true">
        <thead>
        <tr>
            <th data-options="field:'xsxt_xsdh',width:100,align:'right'">销售系统子项号</th>
            <th data-options="field:'wzgg.name',width:100,align:'center'">物资名称</th>
            <th data-options="field:'wzgg.ggxh',width:100,align:'center'">规格型号</th>
            <th data-options="field:'wzgg.cz',width:30,align:'center'">材质</th>
            <th data-options="field:'wzgg.dw',width:40,align:'center'">单位</th>
            <th data-options="field:'cd.z',width:70,align:'center'">产地</th>
            <th data-options="field:'js',width:70,align:'right',formatter:formatSlForHtml">件数</th>
            <th data-options="field:'sbsl',width:70,align:'right',formatter:formatSlForHtml">重量</th>
            <th data-options="field:'jzfs.z',width:40,align:'center'">记重方式</th>
                <th data-options="field:'spec',width:70,align:'right'">特点</th>
            <th data-options="field:'hsj',width:70,formatter:formatJeForHtml,align:'right'">含税单价</th>
            <th data-options="field:'bhsj',width:70,formatter:formatJeForHtml,align:'right'">不含税单价</th>
            <th data-options="field:'hsje',width:70,align:'right',formatter:formatJeForHtml2">含税总金额</th>
        </tr>
        </thead>
    </table>
</div>